package hb.software.teacher.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import domain.BaseEntity;
import hb.software.teacher.category.TeacherCategory;

@Entity
@Table(name = "T_teacher")
public class Teacher extends BaseEntity<Long> {

	@ManyToOne
	@JoinColumn(name = "Category_ID")
	TeacherCategory teacherCategory;

	

	public TeacherCategory getTeacherCategory() {
		return teacherCategory;
	}

	public void setTeacherCategory(TeacherCategory teacherCategory) {
		this.teacherCategory = teacherCategory;
	}

	private static final long serialVersionUID = 4475744750767977852L;
	@Column
	String teacherscore;
	@Column
	String teachername;

	@Column
	String teacherage;
	@Column
	String teacherclass;
	@Column
	String teacheraddress;

	public String getTeachername() {
		return teachername;
	}

	public void setTeachername(String teachername) {
		this.teachername = teachername;
	}
	public String getTeacheraddress() {
		return teacheraddress;
	}

	public void setTeacheraddress(String teacheraddress) {
		this.teacheraddress = teacheraddress;
	}


	public String getTeacherage() {
		return teacherage;
	}

	public void setTeacherage(String teacherage) {
		this.teacherage = teacherage;
	}
	public String getTeacherclass() {
		return teacherclass;
	}

	public void setTeacherclass(String teacherclass) {
		this.teacherclass = teacherclass;
	}
	public String getTeacherscore() {
		return teacherscore;
	}

	public void setTeacherscore(String teacherscore) {
		this.teacherscore = teacherscore;
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

}
